package com.igeek;

import java.util.List;
import java.util.Map;
import java.util.Properties;
import java.util.Set;

public class CollectionBean {
    private List<String> list;
    private Set<Integer> set;
    private Map<String, Object> map;
    private Properties properties;//特殊类型的map，key和value都是String

    public void setList(List<String> list) {
        this.list = list;
    }
    public void setSet(Set<Integer> set) {
        this.set = set;
    }
    public void setMap(Map<String, Object> map) {
        this.map = map;
    }
    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    public String toString() {
        return "CollectionBean [list=" + list + ", set=" + set + ", map=" + map
                + ", properties=" + properties + "]";
    }

}
